<template>
  <div>
    <h1>Home Page</h1>
    <nav>
      <router-link to="detail1">Detail 1</router-link>
      <router-link to="detail2">Detail 2</router-link>
    </nav>
    <!-- 嵌套 router-view -->
    <router-view />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  name: 'Home',
});
</script>
